Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize archetype columns #73

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Optimize archetype columns #73

merged 2 commits into from
Jun 24, 2024

Conversation

rj00a
Copy link
Owner

@rj00a rj00a commented Jun 24, 2024

This reduces the memory usage of archetype columns by reusing the length and capacity of the EntityId vector for the whole archetype, rather than duplicating this information across all columns.

@rj00a rj00a merged commit 6add721 into main Jun 24, 2024
6 checks passed
@rj00a rj00a deleted the optimize-columns branch June 24, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant